package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-业务-mpls-故障检测oam对象 element_busi_mpls_alarmoam
 *
 * @author net
 * @date 2024-11-30
 */
public class ElementBusiMplsAlarmoam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** PMLS-TP业务ID */
    @Excel(name = "PMLS-TP业务ID")
    @ApiModelProperty(value = "PMLS-TP业务ID")
    private String mplstpId;

    /** 网元id */
    @Excel(name = "网元id")
    @ApiModelProperty(value = "网元id")
    private String elementId;

    /** OAM ID */
    @Excel(name = "OAM ID")
    @ApiModelProperty(value = "OAM ID")
    private String oamId;

    /** MP类型 */
    @Excel(name = "MP类型")
    @ApiModelProperty(value = "MP类型")
    private String mpType;

    /** LSP TTL/EXP */
    @Excel(name = "LSP TTL/EXP")
    @ApiModelProperty(value = "LSP TTL/EXP")
    private String lspTtl;

    /** MEG信息 */
    @Excel(name = "MEG信息")
    @ApiModelProperty(value = "MEG信息")
    private String meg;

    /** APS帧 */
    @Excel(name = "APS帧")
    @ApiModelProperty(value = "APS帧")
    private String aps;

    /** CV帧 */
    @Excel(name = "CV帧")
    @ApiModelProperty(value = "CV帧")
    private String cv;

    /** CSF帧 */
    @Excel(name = "CSF帧")
    @ApiModelProperty(value = "CSF帧")
    private String csf;

    /** FDI帧 */
    @Excel(name = "FDI帧")
    @ApiModelProperty(value = "FDI帧")
    private String fdi;

    /** tunnel名称 */
    @Excel(name = "tunnel名称")
    @ApiModelProperty(value = "tunnel名称")
    private String tunnelName;

    /** 节点类型 */
    @Excel(name = "节点类型")
    @ApiModelProperty(value = "节点类型")
    private String nodeType;

    /** 路径类型（工作、保护、备用-） */
    @Excel(name = "路径类型", readConverterExp = "工=作、保护、备用-")
    @ApiModelProperty(value = "路径类型")
    private String routeType;

    /** 是否为模版（Y:是 N:否） */
    @Excel(name = "是否为模版", readConverterExp = "Y=:是,N=:否")
    @ApiModelProperty(value = "是否为模版")
    private String templateFlag;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    private String megName;

    private String meName;


    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public String getMegName() {
        return megName;
    }

    public void setMegName(String megName) {
        this.megName = megName;
    }

    public String getMeName() {
        return meName;
    }

    public void setMeName(String meName) {
        this.meName = meName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setMplstpId(String mplstpId)
    {
        this.mplstpId = mplstpId;
    }

    public String getMplstpId()
    {
        return mplstpId;
    }
    public void setElementId(String elementId)
    {
        this.elementId = elementId;
    }

    public String getElementId()
    {
        return elementId;
    }
    public void setOamId(String oamId)
    {
        this.oamId = oamId;
    }

    public String getOamId()
    {
        return oamId;
    }
    public void setMpType(String mpType)
    {
        this.mpType = mpType;
    }

    public String getMpType()
    {
        return mpType;
    }
    public void setLspTtl(String lspTtl)
    {
        this.lspTtl = lspTtl;
    }

    public String getLspTtl()
    {
        return lspTtl;
    }
    public void setMeg(String meg)
    {
        this.meg = meg;
    }

    public String getMeg()
    {
        return meg;
    }
    public void setAps(String aps)
    {
        this.aps = aps;
    }

    public String getAps()
    {
        return aps;
    }
    public void setCv(String cv)
    {
        this.cv = cv;
    }

    public String getCv()
    {
        return cv;
    }
    public void setCsf(String csf)
    {
        this.csf = csf;
    }

    public String getCsf()
    {
        return csf;
    }
    public void setFdi(String fdi)
    {
        this.fdi = fdi;
    }

    public String getFdi()
    {
        return fdi;
    }
    public void setTunnelName(String tunnelName)
    {
        this.tunnelName = tunnelName;
    }

    public String getTunnelName()
    {
        return tunnelName;
    }
    public void setNodeType(String nodeType)
    {
        this.nodeType = nodeType;
    }

    public String getNodeType()
    {
        return nodeType;
    }
    public void setRouteType(String routeType)
    {
        this.routeType = routeType;
    }

    public String getRouteType()
    {
        return routeType;
    }
    public void setTemplateFlag(String templateFlag)
    {
        this.templateFlag = templateFlag;
    }

    public String getTemplateFlag()
    {
        return templateFlag;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("mplstpId", getMplstpId())
                .append("elementId", getElementId())
                .append("oamId", getOamId())
                .append("mpType", getMpType())
                .append("lspTtl", getLspTtl())
                .append("meg", getMeg())
                .append("aps", getAps())
                .append("cv", getCv())
                .append("csf", getCsf())
                .append("fdi", getFdi())
                .append("tunnelName", getTunnelName())
                .append("nodeType", getNodeType())
                .append("routeType", getRouteType())
                .append("templateFlag", getTemplateFlag())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
